﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace HOG.Options
{
    /// <summary>
    /// Class  that provide options in game like sound level.
    /// </summary>
    public class Options : System.ComponentModel.INotifyPropertyChanged
    {
        private double volumeLevel = 1.0;

        public double VolumeLevel
        {
            get { return volumeLevel; }
            set 
            {
                volumeLevel = value;
                OnPropertyChanged("VolumeLevel"); 
            }
        }

        #region INotifyPropertyChanged Members

        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;

        private void OnPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
                PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
        }

        #endregion
    }
}
